//
//  PeopleCell.m
//  timelyRain
//
//  Created by Jiafei Wei on 16/9/21.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import "PeopleCell.h"
@interface PeopleCell()

@end
@implementation PeopleCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

//创建自定义可重用的cell对象
+(instancetype)setPeopleCellWithTableView:(UITableView *)tableView
{
    static NSString *reuseId = @"PeopleCell";
    PeopleCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseId];
    if (cell == nil) {
        cell = [[[NSBundle mainBundle] loadNibNamed:@"PeopleCell" owner:nil options:nil] lastObject];
    }
    return cell;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
 
}
@end
